import {httpGet, httpPost} from '@/utils/request'

// 租金历史
export const openHistory = async (params: {}, config?: {}) => {
  await httpPost('user/openHistory', params, config)
}


// 彩票投注
export const lotteryBet = async (params: {}, config?: {}) => {
  await httpPost('user/lotteryBet', params, config)
}

// 投注记录
export const betRecords = async (params: {}, config?: {}) => {
  await httpPost('user/betRecords', params, config)
}